package com.example.demo.service;

import com.example.demo.entity.Mdtype;
import com.example.demo.entity.Means;

import java.util.List;
import java.util.Map;

public interface DataService {
    List<Means> findAllMeans(String title);

    List<Mdtype> findAllMdtype();

    public void addMdtype(String text);
    public void modifyMdtype(String id,String text);
    public void delMdtypeById(String id);

    public void updateMeans(Map<String,String> map);
    public void addMeans(Map<String,String> map);
    public Means getByDid(String did);
    public void modifyMeans(Map<String,String> map);
    public void delByDid(String did);
}
